package com.platform.dto;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.base.mvc.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * InnoDB free: 368640 kB
 * 
 * @author platform
 * @email 15909910367@163.com
 * @date 2022-11-18 17:38:13
 */
@Setter
@Getter
@ApiModel(description="批次管理")
public class DjpsBatchDTO extends BaseModel {
	private static final long serialVersionUID = 1L;
	
	/*
	 * 
	 */
	@ApiModelProperty(value="")
	private Long id;
	/*
	 * 
	 */
	@ApiModelProperty(value="批次年")
	private String batchYear;
	/*
	 * 
	 */
	@ApiModelProperty(value="批次编号（系统生成）")
	private String batchNo;
	
	@ApiModelProperty(value = "对应评审体系（条款）组")
	private Long clauseCode;
	/*
	 * 
	 */
	@ApiModelProperty(value="批次名称")
	private String batchName;
	/*
	 * 
	 */
	@ApiModelProperty(value="批次开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date batchBegin;
	/*
	 * 
	 */
	@ApiModelProperty(value="批次结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date batchEnd;
	/*
	 * 
	 */
	@ApiModelProperty(value="是否有效")
	private String isValid;
	
	@ApiModelProperty(value="备注")
	private String remarks;
	
	private String hospCode; //依赖项不容库
	
	private List<DjpsBatchHospitalDTO> batchHospital; //批次内组织机构信息
}
